<!--
 * @Description: html学习
 * @Author: rendc
 * @Date: 2021-06-29 15:07:08
 * @LastEditors: rendc
 * @LastEditTime: 2021-06-29 15:37:02
-->
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <link rel="stylesheet" href="style.css">
  <style>
    .myDiv {
      color: aqua;
    }
  </style>
</head>

<body>
  <div class="myDiv" style="width: 200px;
  height: 200px;
  border: 1px solid burlywood;
  box-sizing: border-box;
  padding: 5px;
  margin: 5px;
  ">
    hello,world
    <div>
    </div>
    <img src="" alt="" />
    <!-- 块级元素：单独占用一行空间 -->
    <!-- 行内元素：与其他元素共享一行空间，一般是被嵌套在块级元素中使用 -->
  </div>
</body>

</html>